package ui.util;

import org.eclipse.nebula.widgets.pgroup.PGroup;
import org.eclipse.nebula.widgets.pgroup.RectangleGroupStrategy;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.widgets.Display;

public class CustomGroupStrategy extends RectangleGroupStrategy {
	private final Color blue = Display.getCurrent().getSystemColor(SWT.COLOR_BLUE);
	private final Color white = Display.getCurrent().getSystemColor(SWT.COLOR_WHITE);
	@Override
	public void initialize(PGroup sg) {
		super.initialize(sg);
		getGroup().setForeground(white);
		setBackground(new Color[] { white, white }, new int[] { 100 }, true);
	}

}
